package com.project.bean;

/*
* 收邮箱
* */
public class BoxBean {
    private Integer boxId;
    private String status;//状态  已读  未读
    private UserBean userBean;//收件人对象
    private MailBean mailBean;//邮件对象

    public BoxBean() {
    }

    public BoxBean(Integer boxId, String status, UserBean userBean, MailBean mailBean) {
        this.boxId = boxId;
        this.status = status;
        this.userBean = userBean;
        this.mailBean = mailBean;
    }

    public BoxBean(String status, UserBean userBean, MailBean mailBean) {
        this.status = status;
        this.userBean = userBean;
        this.mailBean = mailBean;
    }

    @Override
    public String toString() {
        return "BoxBean{" +
                "boxId=" + boxId +
                ", status='" + status + '\'' +
                ", userBean=" + userBean +
                ", mailBean=" + mailBean +
                '}';
    }

    public Integer getBoxId() {
        return boxId;
    }

    public void setBoxId(Integer boxId) {
        this.boxId = boxId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public UserBean getUserBean() {
        return userBean;
    }

    public void setUserBean(UserBean userBean) {
        this.userBean = userBean;
    }

    public MailBean getMailBean() {
        return mailBean;
    }

    public void setMailBean(MailBean mailBean) {
        this.mailBean = mailBean;
    }
}
